package com.qaml.mes.device.domain.convert;

import com.qaml.mes.device.dao.HolidayApplyDO;
import com.qaml.mes.device.dto.eqp.HolidayApplyDTO;
import com.qaml.mes.device.vo.eqp.HolidayApplyVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Filename：HolidayApplyConvert
 * @Author：zhangzhifeng
 * @Project：mes-device
 * @Date：2024/3/11 15:52
 */
@Mapper
public interface HolidayApplyConvert {

    HolidayApplyConvert INSTANCE = Mappers.getMapper(HolidayApplyConvert.class);

    /**
     * do-->TDO
     *
     * @param holidayApplyDTO
     * @return
     */
    HolidayApplyDO do2DTO(HolidayApplyDTO holidayApplyDTO);


    /**
     * DO -->VO
     *
     * @param holidayApplyDO
     * @return
     */
    HolidayApplyVO do2VO(HolidayApplyDO holidayApplyDO);
}
